﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using Microsoft.Practices.CompositeUI.WinForms;
using Microsoft.Practices.CompositeUI;

namespace FireEvent
{
	public class Program : FormShellApplication<WorkItem,Shell>
	{
		/// <summary>
		/// The main entry point for the application.
		/// </summary>
		[STAThread]
		static void Main()
		{
			new Program().Run();
		}

		protected override void AfterShellCreated()
		{
			base.AfterShellCreated();
			RootWorkItem.Items.AddNew<Subscriber1>();
			RootWorkItem.Items.AddNew<Subscriber2>();
			RootWorkItem.Items.AddNew<Publisher>("Publisher");
		}
	}
}
